PhpParser\ParserAbstract D

Total Complexity 221
Dependencies 45
Dependents 0
Total lines 1,207
Lines of code 754
Logical lines of code 424
Comment lines 211
Methods 46
Properties 36

Methods 46

Method Rating Maintainability Complexity Lines of code
doParse()
D
27
43 133
handleNamespaces()
A
43 15 50
parseDocString()
A
39 13 67
getNamespacingStyle()
A
47 13 35
getExpectedTokens()
A
52 13 23
createTokenMap()
A
45 10 39
stripIndentation()
A
50 8 27
checkClassMethod()
S
53 6 26
parse()
S
52 6 24
fixupAlternativeElse()
S
58 6 15
getCommentBeforeToken()
S
60 5 12
checkClassConst()
S
59 4 17
getNamespaceErrorAttributes()
S
60 4 13
fixupNamespaceAttributes()
S
61 4 12
checkNamespace()
S
63 4 11
fixupArrayDestructuring()
S
59 3 14
inlineHtmlHasLeadingNewline()
S
60 3 12
checkUseUse()
S
64 3 11
maybeCreateZeroLengthNop()
S
56 2 18
parseNumString()
S
64 3 10
checkParam()
S
67 3 8
createCommentFromToken()
S
65 3 8
getFloatCastKind()
S
64 3 10
checkProperty()
S
64 3 10
checkClass()
S
64 3 10
checkImplementedInterfaces()
S
65 3 10
checkClassName()
S
67 3 8
handleBuiltinTypes()
S
64 3 10
postprocessList()
S
68 3 7
checkTryCatch()
S
68 3 7
getAttributesForToken()
S
59 2 14
getErrorMessage()
S
67 2 7
checkModifier()
S
67 2 8
parseLNumber()
S
67 2 8
checkClassModifier()
S
67 2 8
handleHaltCompiler()
S
70 2 5
maybeCreateNop()
S
70 2 6
getAttributes()
S
61 1 12
createEmptyElemAttributes()
S
80 1 3
getAttributesAt()
S
78 1 3
checkInterface()
S
76 1 4
checkEnum()
S
76 1 4
emitError()
S
81 1 3
__construct()
S
64 1 9
getTokens()
S
82 1 3
initReduceCallbacks()
S
100 1 0